package com.cgc.venus.server.core.heapster;

/**
 *
 * Created by 业哥 on
 */
public enum MetricsType {
    cpu_limit {
        public String getName() {
            return "cpu/limit";
        }
        public String getDesc() {
            return "cpu限制值";
        }
        public String getUnit() {
            return "核";
        }
    }, cpu_node_capacity {
        public String getName() {
            return "cpu/node_capacity";
        }
        public String getDesc() {
            return "cpu容量";
        }
        public String getUnit() {
            return "核";
        }
    }, cpu_node_allocatable {
        public String getName() {
            return "cpu/node_allocatable";
        }
        public String getDesc() {
            return "可分配cpu容量";
        }
        public String getUnit() {
            return "核";
        }
    }, cpu_node_reservation {
        public String getName() {
            return "cpu/node_reservation";
        }
        public String getDesc() {
            return "cpu限制值";
        }
        public String getUnit() {
            return "核";
        }
    }, cpu_node_utilization {
        public String getName() {
            return "cpu/node_utilization";
        }
        public String getDesc() {
            return "cpu利用率";
        }
        public String getUnit() {
            return "核";
        }
    }, cpu_request {
        public String getName() {
            return "cpu/request";
        }
        public String getDesc() {
            return "cpu请求值";
        }
        public String getUnit() {
            return "核";
        }
    }, cpu_usage {
        public String getName() {
            return "cpu/usage";
        }
        public String getDesc() {
            return "cpu使用量";
        }
        public String getUnit() {
            return "核";
        }
    }, cpu_usage_rate {
        public String getName() {
            return "cpu/usage_rate";
        }
        public String getDesc() {
            return "cpu使用率";
        }
        public String getUnit() {
            return "核";
        }
    }, memory_limit {
        public String getName() {
            return "memory/limit";
        }
        public String getDesc() {
            return "内存限制值";
        }
        public String getUnit() {
            return "核";
        }
    }, memory_major_page_faults {
        public String getName() {
            return "memory/major_page_faults";
        }
        public String getDesc() {
            return "内存主分页错误";
        }
        public String getUnit() {
            return "核";
        }
    }, memory_major_page_faults_rate {
        public String getName() {
            return "memory/major_page_faults_rate";
        }
        public String getDesc() {
            return "内存主分页错误";
        }
        public String getUnit() {
            return "核";
        }
    }, memory_page_faults {
        public String getName() {
            return "memory/page_faults";
        }
        public String getDesc() {
            return "内存分页错误";
        }
        public String getUnit() {
            return "核";
        }
    }, memory_page_faults_rate {
        public String getName() {
            return "memory/page_faults_rate";
        }
        public String getDesc() {
            return "内存分页错误率";
        }
        public String getUnit() {
            return "核";
        }
    }, memory_node_capacity {
        public String getName() {
            return "memory/node_capacity";
        }
        public String getDesc() {
            return "内存总量";
        }
        public String getUnit() {
            return "核";
        }
    }, memory_node_allocatable {
        public String getName() {
            return "memory/node_allocatable";
        }
        public String getDesc() {
            return "内存可分配";
        }
        public String getUnit() {
            return "核";
        }
    }, memory_node_reservation {
        public String getName() {
            return "memory/node_reservation";
        }
        public String getDesc() {
            return "内存预设值";
        }
        public String getUnit() {
            return "核";
        }
    }, memory_node_utilization {
        public String getName() {
            return "memory/node_utilization";
        }
        public String getDesc() {
            return "内存使用率";
        }
        public String getUnit() {
            return "核";
        }
    }, memory_request {
        public String getName() {
            return "memory/request";
        }
        public String getDesc() {
            return "内存请求值";
        }
        public String getUnit() {
            return "核";
        }
    }, memory_usage {
        public String getName() {
            return "memory/usage";
        }
        public String getDesc() {
            return "内存使用量";
        }
        public String getUnit() {
            return "核";
        }
    }, memory_cache {
        public String getName() {
            return "memory/cache";
        }
        public String getDesc() {
            return "缓存内存";
        }
        public String getUnit() {
            return "核";
        }
    }, memory_rss {
        public String getName() {
            return "memory/rss";
        }
        public String getDesc() {
            return "物理内存";
        }
        public String getUnit() {
            return "核";
        }
    }, memory_working_set {
        public String getName() {
            return "memory/working_set";
        }
        public String getDesc() {
            return "内存工作使用";
        }
        public String getUnit() {
            return "核";
        }
    }, network_rx {
        public String getName() {
            return "network/rx";
        }
        public String getDesc() {
            return "网络流量接收量";
        }
        public String getUnit() {
            return "核";
        }
    }, network_rx_rate {
        public String getName() {
            return "network/rx_rate";
        }
        public String getDesc() {
            return "网络流量接收率";
        }
        public String getUnit() {
            return "核";
        }
    }, network_rx_errors {
        public String getName() {
            return "network/rx_errors";
        }
        public String getDesc() {
            return "网络流量接收错误";
        }
        public String getUnit() {
            return "核";
        }
    }, network_rx_errors_rate {
        public String getName() {
            return "network/rx_errors_rate";
        }
        public String getDesc() {
            return "网络流量接收错误率";
        }
        public String getUnit() {
            return "核";
        }
    }, network_tx {
        public String getName() {
            return "network/tx";
        }
        public String getDesc() {
            return "网络流量发送量";
        }
        public String getUnit() {
            return "核";
        }
    }, network_tx_rate {
        public String getName() {
            return "network/tx_rate";
        }
        public String getDesc() {
            return "网络流量发送率";
        }
        public String getUnit() {
            return "核";
        }
    }, network_tx_errors {
        public String getName() {
            return "network/tx_errors";
        }
        public String getDesc() {
            return "网络流量发送错误";
        }
        public String getUnit() {
            return "核";
        }
    }, network_tx_errors_rate {
        public String getName() {
            return "network/tx_errors_rate";
        }
        public String getDesc() {
            return "网络流量发送错误率";
        }
        public String getUnit() {
            return "核";
        }
    }, uptime {
        public String getName() {
            return "uptime";
        }
        public String getDesc() {
            return "运行时间";
        }
        public String getUnit() {
            return "核";
        }
    }, filesystem_usage {
        public String getName() {
            return "filesystem/usage";
        }
        public String getDesc() {
            return "磁盘使用";
        }
        public String getUnit() {
            return "核";
        }
    }, filesystem_limit {
        public String getName() {
            return "filesystem/limit";
        }
        public String getDesc() {
            return "磁盘限制值";
        }
        public String getUnit() {
            return "核";
        }
    }, filesystem_available {
        public String getName() {
            return "filesystem/available";
        }
        public String getDesc() {
            return "磁盘可用值";
        }
        public String getUnit() {
            return "核";
        }
    }, filesystem_inodes {
        public String getName() {
            return "filesystem/inodes";
        }
        public String getDesc() {
            return "磁盘可用索引节点数";
        }
        public String getUnit() {
            return "核";
        }
    }, filesystem_inodes_free {
        public String getName() {
            return "filesystem/inodes_free";
        }
        public String getDesc() {
            return "磁盘空闲索引节点数";
        }
        public String getUnit() {
            return "核";
        }
    };
    public abstract String getName();
    public abstract String getDesc();
    public abstract String getUnit();
}
